#!/bin/bash
set -e;

whoname=`whoami`;

sudo mkdir  -p /opt/qinglong;sudo chmod -R 755 /opt/qinglong;
sudo chown -R ${whoname} /opt/qinglong;
cp start.sh stop.sh /opt/qinglong/;
chmod -R 755 /opt/qinglong;

echo "start qinglong services......";
/opt/qinglong/stop.sh;
/opt/qinglong/start.sh;


